package cn.fl.riskctrl.service;

import org.springframework.web.servlet.ModelAndView;

import cn.cmm.base.framework.exception.BaseException;
import fl.riskctrl.facade.riskctrl.dto.DataResultDTO;

/**
 * 风控服务接口
 * @author FUJINGRUN
 *
 */
public interface IRskCtrlService {

//	/**
//	 * 获取风控数据
//	 * @param prjId 项目主键
//	 * @param cstId 客户主键
//	 * @return 包含所有征信信息
//	 * @throws BaseException
//	 */
//	public DataResultDTO getRiskCtrlIsCorrect(Long prjId, Long cstId) throws BaseException;
	
	/**
	 * 单独检查鹏元建议征信是否正常
	 * @param prjId 项目主键
	 * @param cstId 客户主键
	 * @throws BaseException
	 */
	public DataResultDTO checkPYJyIsCorrect(Long prjId, Long cstId) throws BaseException;
	
	/**
	 * 单独检查鹏元驾照征信是否正常
	 * @param prjId 项目主键
	 * @param cstId 客户主键
	 * @throws BaseException
	 */
	public DataResultDTO checkPYJzIsCorrect(Long prjId, Long cstId) throws BaseException;

	/**
	 * 单独检查鹏元征信是否正常
	 * @param id 业务主键
	 * @throws BaseException
	 */
	public DataResultDTO checkKJYIsCorrect(Long prjId, Long cstId) throws BaseException;

	/**
	 * 单独检查鹏元征信是否正常
	 * @param id 业务主键
	 * @throws BaseException
	 */
	public DataResultDTO checkSYSIsCorrect(Long prjId, Long cstId) throws BaseException;

	/**
	 * 单独检查鹏元征信是否正常
	 * @param id 业务主键
	 * @throws BaseException
	 */
	public DataResultDTO checkPyEduIsCorrect(Long prjId, Long cstId) throws BaseException;

	/**
	 * 单独检查鹏元分
	 * @param id 业务主键
	 * @throws BaseException
	 */
	public DataResultDTO checkPyscrIsCorrect(Long prjId, Long cstId) throws BaseException;
	
	/**
	 * 单独检查聚信立征信是否正常
	 * @param id 业务主键 
	 * @throws BaseException
	 */
	public DataResultDTO checkJXLIsCorrect(Long prjId, Long cstId) throws BaseException;
	
	/**
	 * 单独检百融征信是否正常
	 * @param id 业务主键
	 * @throws BaseException
	 */
	public DataResultDTO checkBrIsCorrect(Long prjId, Long cstId) throws BaseException;

	/**
	 * 单独检百融不良信息
	 * @param id 业务主键
	 * @throws BaseException
	 */
	public DataResultDTO checkBrblIsCorrect(Long prjId, Long cstId) throws BaseException;

	/**
	 * 单独检百融个人信息关联
	 * @param id 业务主键
	 * @throws BaseException
	 */
	public DataResultDTO checkBrPersonIsCorrect(Long prjId, Long cstId) throws BaseException;

	/**
	 * 单独检百融手机核查
	 * @param id 业务主键
	 * @throws BaseException
	 */
	public DataResultDTO checkBrtelIsCorrect(Long prjId, Long cstId) throws BaseException;

	/**
	 * 单独检同盾手机核查
	 * @param id 业务主键
	 * @throws BaseException
	 */
	public DataResultDTO checkTdtelIsCorrect(Long prjId, Long cstId) throws BaseException;
	
	/**
	 * 单独检同盾征信是否正常
	 * @return id 业务主键
	 * @throws BaseException
	 */
	public DataResultDTO checkTDIsCorrect(Long prjId, Long cstId) throws BaseException;
	
	/**
	 * 单独检中智诚征信是否正常
	 * @param id 业务主键
	 * @throws BaseException
	 */
	public DataResultDTO checkZZCIsCorrect(Long prjId, Long cstId) throws BaseException;
	
	/**
	 * 单独检查担保人征信是否正常
	 * @param id 业务主键
	 * @throws BaseException
	 */
	//public DataResultDTO checkDBRIsCorrect(Long prjId, Long cstId) throws BaseException;
	
	/**
	 * 单独检查信加征信是否正常
	 * @param id 业务主键
	 * @throws BaseException
	 */
	public DataResultDTO checkXjIsCorrect(Long prjId, Long cstId) throws BaseException;
	
	/**
	 * 设置客户和担保人ID
	 * @param prjId
	 * @param view
	 * @throws BaseException
	 */
	public void setCstIdForView(Long prjId, ModelAndView view)throws BaseException;

	/**
	 * 根据客户经理查询承租人征信
	 * @param certNo
	 * @param cstMgrId
	 * @throws BaseException
	 */
	public cmm.mid.core.framework.dto.DataResultDTO searchRcCstBscInfoByCstMgr(String certNo,String cstNm,String mp1,Long cstMgrId) throws BaseException;
	
}
